package cn.edu.cdtu.yulei.test_demo.model;

/**
 * 接口信息
 */
public class InterfaceInfo {

    /**
     * 接口地址
     */
    private String url;
    /**
     * 访问数
     */
    private Integer viewNum;

    public InterfaceInfo() {
    }

    public InterfaceInfo(String url, Integer viewNum) {
        this.url = url;
        this.viewNum = viewNum;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getViewNum() {
        return viewNum;
    }

    public void setViewNum(Integer viewNum) {
        this.viewNum = viewNum;
    }

    @Override
    public String toString() {
        return "InterfaceInfo{" +
                "url='" + url + '\'' +
                ", viewNum=" + viewNum +
                '}';
    }
}
